import socket as s
if __name__ == '__main__':

    tcp_c=s.socket(s.AF_INET,s.SOCK_STREAM)
    tcp_c.bind(("",8900))
    tcp_c.connect(("192.168.136.128",8080))
    content="你好"
    data=content.encode("UTF-8")
    tcp_c.send(data)
    r_data=tcp_c.recv(1024)
    r_content=r_data.decode("UTF-8")
    print(r_content)
    tcp_c.close()




